ScriptLoader=function(){
	this.scriptsLoaded=new Object();
	
	this.loadScript=function(url){
		if(!this.scriptsLoaded[url]){
			var script=document.createElement("SCRIPT");
			script.setAttribute("language","javascript");
			script.src=url;
			this.scriptsLoaded[url]=script;
			document.getElementsByTagName("HEAD")[0].appendChild(script);
		}
	}
}

var scriptLoader=new ScriptLoader();